Skip to content

Comments

Bugfix: Fix emrun --browser=open option for macOS #26313

Open
benjiwolff wants to merge 1 commit intoemscripten-core:mainfrom
benjiwolff:reallow-macos-system-browser
Open

Bugfix: Fix emrun --browser=open option for macOS #26313
benjiwolff wants to merge 1 commit intoemscripten-core:mainfrom
benjiwolff:reallow-macos-system-browser

Conversation

@benjiwolff
Copy link

@benjiwolff benjiwolff commented Feb 20, 2026

In #8179 it was decided, that on macOS, the default browser for emrun should be the system browser. And so it was implemented in #8243.

However, when fixing a seemingly unrelated Safari bug in #12034, the system browser option "open" was effectively removed. It since has the same effect, as choosing Safari.

I don't have a preference, whether the system browser or Safari should be the default. But when I explicitly choose --browser=open, I want my system browser.

Side note: Using Safari over brave for example, does not seem to improve my experience in any way. Both are equally detached, as they are launched with open and neither terminating the browser nor the emrun process stops the other.

@sbc100 sbc100 changed the title Reallow macos system browser [emrun] Reallow macos system browser Feb 20, 2026
@benjiwolff benjiwolff changed the title [emrun] Reallow macos system browser Bugfix: Fix emrun --browser=open option for macOS Feb 20, 2026
@sbc100
Copy link
Collaborator

sbc100 commented Feb 20, 2026

Certainly seems worth fixing

Perhaps @brendandahl (or someone who actually uses macOS) would know the best was to proceed here.

@benjiwolff benjiwolff marked this pull request as ready for review February 20, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants